package com.StringBuild01;
//StringBuilder添加与反转
public class Demo02 {
    public static void main(String[] args) {
        StringBuilder stringBuilder = new StringBuilder();
        //链式编程
        StringBuilder append = stringBuilder.append("路韶聪").append(100).append(2).append(true);
        System.out.println(append);

        //字符翻转
        StringBuilder reverse = append.reverse();
        System.out.println(reverse);

    }
}
